import React, {Component} from 'react';
import './index.less';

class FullDialog extends React.Component {
	constructor(props) {
		super(props);
	}

	render() {
		let {visible} = this.props;
		return (
			<div className='fullDialog' style={{display: visible && visible == true ? 'block' : 'none'}}>
				{this.props.children}
			</div>
		);
	}
}

export default FullDialog;